From: Jonh Wendell Date: Wed, 7 Aug 2013 18:35:56 +0000 (-0300) Subject: dateMenu: add a style class for the clock label X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~3789 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=a7bcc4c00dbac26afc988cff3787a85d51ad48a2;p=gnome-shell.git dateMenu: add a style class for the clock label it's useful if we need to tweak only the clock's label css. https://bugzilla.gnome.org/show_bug.cgi?id=705634 --- diff --git a/js/ui/dateMenu.js b/js/ui/dateMenu.js index 85a0aded1..389860679 100644 --- a/js/ui/dateMenu.js +++ b/js/ui/dateMenu.js @@ -51,6 +51,7 @@ const DateMenuButton = new Lang.Class({ this._clockDisplay = new St.Label(); this.actor.add_actor(this._clockDisplay); + this.actor.add_style_class_name ('clock-display'); hbox = new St.BoxLayout({name: 'calendarArea' }); this.menu.addActor(hbox);